using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public interface ISystemLogic
{
    object name { get; }

    public void LoadManager(SystemManager systemManager);
}

public class SystemManager : MonoSingleton<SystemManager>
{
    // public ISystemALogic systemA;
    // public ISystemBLogic systemB;
    // Start is called before the first frame update

    public SystemA systemA;
    public SystemB systemB;


    public void Init()
    {
        SystemA.Instance.LoadManager(Instance);
        this.systemA = SystemA.Instance;

        SystemB.Instance.LoadManager(Instance);
        this.systemB = SystemB.Instance;
    }

}
